<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form action="/update" method="post">
        <input type="hidden" th:value="${news.id}" name="id">
        <div>标题:<input type="text" name="title" th:value="${news.title}"> </div>
        <div>描述：<input type="text" name="summary" th:value="${news.summary}"> </div>
        <div>作者:<input type="text" name="author" th:value="${news.author}"> </div>
        <div><input type="submit" value="ok"> </div>
    </form>
</body>
</html>